package com.ruoyi.classai.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 培训课程文件资料对象 px_training_course_file
 *
 * @author lcj
 * @date 2025-06-18
 */
@Data
@TableName("px_training_course_file")
@Schema(description="培训课程文件资料对象px_training_course_file")
public class PxTrainingCourseFile implements Serializable{

    private static final long serialVersionUID = 1L;


    /** id */
    private String id;

    /** 类型0:课程视频1:课程资料 */
    @Excel(name = "类型0:课程视频1:课程资料")
    @Schema(description  = "类型0:课程视频1:课程资料")
    private Integer type;

    /** 课程资源名称 */
    @Excel(name = "课程资源名称")
    @Schema(description  = "课程资源名称")
    private String courseResourceName;

    /** 课程资源地址 */
    @Excel(name = "课程资源地址")
    @Schema(description  = "课程资源地址")
    private String courseResourceUrl;

    /** 培训课程id */
    @Excel(name = "培训课程id")
    private String trainingCourseId;

    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;




}
